﻿using System.Collections.Generic;
using System.Web.Http;
using Smatime.Web.DAO;
using Smatime.Web.Models;

namespace Smatime.Web.Controllers
{
    public class ListStaffOfStoreController : ApiController
    {
        // GET api/liststaffofstore/5
        public IEnumerable<CompanyStaff> Get(int id)
        {
            return new ListStaffOfStoreRepository().GetStoresByUserId(id);
        }
    }
}